package com.rentcars.mapper;

import com.rentcars.entity.Cars1;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface Cars1Mapper {
    int deleteByPrimaryKey(String carid);

    int insert(Cars1 record);


    Cars1 selectByPrimaryKey(String carid);

    int updateByPrimaryKey(Cars1 record);

    int getCount(Map<String, Object> map);

    List<Cars1> getAll(Map<String, Object> map);
}